<?php
namespace app\controller;

use app\BaseController;
use app\model\ClassifyModel;
use think\facade\View;

/**
 * 留学指南
 */
class Guide extends BaseController
{

    /**
     * 留学指南
     */
    public function index($cid = 9)
    {
        $catid = $cid;
        View::assign('cid', $catid);

        $classify = ClassifyModel::where(['deleted' => 0, 'id'=>$catid])->find();
        View::assign('classify', $classify);


        $this->getArticleList($catid);

        return View::fetch();
    }



}
